<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<title>熊胆粉</title>
<link rel="stylesheet" type="text/css" href="../../css/aui-win.css" />
<style type="text/css">
*{
	margin: 0;
	padding:0;
}
	img{
		margin:5px;
		width: 100%;
	}
	.goumai{
		width: 100%;
		height: 70px;
		background:#f3f3f3;
		border: 1px solid #bebebe;
	}
	li p{
		float: left;
		width: 40%;
		height: 30px;
		line-height: 30px;
	}
	li input{
		float: left;
		width: 60%;
		border:none;
		border-bottom: 1px solid black;
		background: #f3f3f3;
	}
	#bttn{
		width: 80px;
		float: right;
		height: 30px;
		margin-right: 20px;
		margin-top: 20px;
		background: #fc8800;
		color: white;
		font-size: 16px;
		border-radius: 4px;

	}
	ul{
		width: 60%;
		height: 60px;
		float: left;
		margin-left: 20px;
	}
	span{
		color: #f3f3f3;
	}
</style>
</head>
<body>
	<header class="aui-bar aui-bar-nav aui-bar-yunzo" id="aui-header">
		<a class="aui-btn aui-bar-yunzo aui-pull-left" id="back" > <span class="aui-iconfont aui-icon-left"></span></a>
		<div class="aui-title" id="title">
			
		</div>
	</header>
	<div class="goumai">
		<ul>
			<li>
				<p>联系人：</p>
				<input type="text">
			</li>
			<li>
				<p>电<span>空</span>话：</p>
				<input type="text">
			</li>
		</ul>
		<input type="button" value="预约/购买" onclick="xdfBttn()" id="bttn">
	</div>
	<div id="img"></div>
	<script src="../../script/jquery-1.10.2.min.js"></script>
	<script src="../../script/common.js"></script>
	<script type='text/javascript'>
    (function(m, ei, q, i, a, j, s) {
        m[a] = m[a] || function() {
            (m[a].a = m[a].a || []).push(arguments)
        };
        j = ei.createElement(q),
            s = ei.getElementsByTagName(q)[0];
        j.async = true;
        j.charset = 'UTF-8';
        j.src = i;
        s.parentNode.insertBefore(j, s)
    })(window, document, 'script', '//eco-api.meiqia.com/dist/meiqia.js', '_MEIQIA');
    _MEIQIA('entId', 4501);
</script>
	<script type="text/javascript">
	 $("#back").click(function(){
           window.history.go(-1);
        });
	var a =getUrlParam("infoid");
	var b =getUrlParam("name");
	var post;
	var baseDatas;
	baseDatas=basedata('ecinfo');
	post=baseDatas+"&ecpid="+a;
	ajaxcocRequest('../../../api/group/getgroupecprodinfoObject', 'post', post, function(msg){
        if(msg.code==100){
        	$("#img").html(msg.datum.n2)
        	$("#title").html(b);
        }
        else{
			alert("预约/购买 失败！");
        }
    });

		function xdfBttn(){
			$(".goumai").slideUp("show")
		}
		
		$(window).scroll(function(){
			var scll=$(window).scrollTop();
			if(scll>=45){
				$(".goumai").css("position","fixed")
				$(".goumai").css("top","0px")
			}
			if(scll<=45){
				$(".goumai").css("position","static")
			}
		});
	</script>
</body>
</html>